﻿//nav
.nav{
  float: left;
  //width: 270px;
  .jquery-accordion-menu {
  min-width: 260px;
  float: left;
  position: relative;
  //box-shadow: 3px 15px 5px #333;    //颜色深度，阴影位置，模糊度
  box-shadow: 10px -3px 10px rgba(0,0,0,.1);
  #user-image{
    img{
      margin: 20px;
      border: 1px solid $grey2;
    }
    background-color: white;
    text-align: center;
    .user-name{
      font-size: 16px;
    }
  }
  .jquery-accordion-menu-footer, .jquery-accordion-menu-header {
    width: 100%;
    height: 50px;
    padding-left: 22px;
    float: left;
    line-height: 50px;
    font-weight: 600;
    color: #f0f0f0;
    background: #414956;
  }
  ul {
    margin: 0;
    padding: 0;
    list-style: none;
    li {
      width: 100%;
      display: block;
      float: left;
      position: relative;
      a {
        width: 100%;
        padding: 14px 22px;
        float: left;
        text-decoration: none;
        color: #f0f0f0;
        font-size: 13px;
        background: #414956;
        white-space: nowrap;
        position: relative;
        overflow: hidden;
        -o-transition: color .2s linear,background .2s linear;
        -moz-transition: color .2s linear,background .2s linear;
        -webkit-transition: color .2s linear,background .2s linear;
        transition: color 0.2s linear, background 0.2s linear;
        i {
          width: 34px;
          float: left;
          line-height: 18px;
          font-size: 16px;
          text-align: left;
        }
      }
    }
  }
  > ul > li {
    &.active > a, &:hover > a {
      color: #fff;
      background: #3b424d;
    }
    > a {
      border-bottom: solid 1px #3b424d;
    }
  }
  .submenu-indicator {
    float: right;
    right: 22px;
    position: absolute;
    line-height: 19px;
    font-size: 20px;
    -o-transition: transform .3s linear;
    -moz-transition: transform .3s linear;
    -webkit-transition: transform .3s linear;
    -ms-transition: transform 0.3s linear;
  }
  ul ul.submenu .submenu-indicator {
    line-height: 16px;
  }
  .submenu-indicator-minus > .submenu-indicator {
    -ms-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  ul {
    ul.submenu {
      width: 100%;
      display: none;
      position: static;
      li {
        ul.submenu {
          width: 100%;
          display: none;
          position: static;
        }
        clear: both;
        width: 100%;
        a {
          width: 100%;
          float: left;
          font-size: 11px;
          background: #383838;
          border-top: none;
          position: relative;
          border-left: solid 6px transparent;
          -o-transition: border .2s linear;
          -moz-transition: border .2s linear;
          -webkit-transition: border .2s linear;
          transition: border 0.2s linear;
        }
        &:hover > a {
          border-left-color: #414956;
        }
      }
      > li > {
        a {
          padding-left: 30px;
        }
        ul.submenu > li > {
          a {
            padding-left: 45px;
          }
          ul.submenu > li > a {
            padding-left: 60px;
          }
        }
      }
    }
    li .jquery-accordion-menu-label {
      min-width: 20px;
      padding: 1px 2px 1px 1px;
      position: absolute;
      right: 18px;
      top: 14px;
      font-size: 11px;
      font-weight: 800;
      color: #555;
      text-align: center;
      line-height: 18px;
      background: #f0f0f0;
      border-radius: 100%;
    }
    ul.submenu li .jquery-accordion-menu-label {
      min-width: 20px;
      padding: 1px 2px 1px 1px;
      position: absolute;
      right: 18px;
      top: 14px;
      font-size: 11px;
      font-weight: 800;
      color: #555;
      text-align: center;
      line-height: 18px;
      background: #f0f0f0;
      border-radius: 100%;
      top: 12px;
    }
  }
  }

  .ink {
  display: block;
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 100%;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
  }

  .animate-ink {
  -webkit-animation: ripple .5s linear;
  -moz-animation: ripple .5s linear;
  -ms-animation: ripple .5s linear;
  -o-animation: ripple .5s linear;
  animation: ripple 0.5s linear;
  }

  @-webkit-keyframes ripple {
  100% {
    opacity: 0;
    -webkit-transform: scale(2.5);
  }
  }


  @-moz-keyframes ripple {
  100% {
    opacity: 0;
    -moz-transform: scale(2.5);
  }
  }


  @-o-keyframes ripple {
  100% {
    opacity: 0;
    -o-transform: scale(2.5);
  }
  }


  @keyframes ripple {
  100% {
    opacity: 0;
    transform: scale(2.5);
  }
  }


  .blue.jquery-accordion-menu {
  .jquery-accordion-menu-footer, .jquery-accordion-menu-header {
    background: #4A89DC;
  }
  ul {
    li a {
      background: #4A89DC;
    }
    ul.submenu li:hover > a {
      border-left-color: #3e82da;
    }
  }
  > ul > li {
    &.active > a, &:hover > a {
      background: #3e82da;
    }
    > a {
      border-bottom-color: #3e82da;
    }
  }
  }

  .green.jquery-accordion-menu {
  .jquery-accordion-menu-footer, .jquery-accordion-menu-header {
    background: #03A678;
  }
  ul {
    li a {
      background: #03A678;
    }
    ul.submenu li:hover > a {
      border-left-color: #049372;
    }
  }
  > ul > li {
    &.active > a, &:hover > a {
      background: #049372;
    }
    > a {
      border-bottom-color: #049372;
    }
  }
  }

  .red.jquery-accordion-menu {
  .jquery-accordion-menu-footer, .jquery-accordion-menu-header {
    background: #ED5565;
  }
  ul {
    li a {
      background: #ED5565;
    }
    ul.submenu li:hover > a {
      border-left-color: #DA4453;
    }
  }
  > ul > li {
    &.active > a, &:hover > a {
      background: #DA4453;
    }
    > a {
      border-bottom-color: #DA4453;
    }
  }
  }

  .white.jquery-accordion-menu {
    .filterinput{
      border-color: $grey3;
      color: $grey3;
      font-size: 12px;
      padding-left: 15px;
      font-weight: 100;
    }
  .jquery-accordion-menu-footer, .jquery-accordion-menu-header {
    background: #fff;
    color: #555;
  }
  ul {
    li a {
      background: #fff;
      color: #555;
    }
    ul.submenu li {
      &:hover > a {
        border-left-color: #f0f0f0;
      }
      a {
        color: #f0f0f0;
      }
    }
  }
  > ul > li {
    &.active > a, &:hover > a {
      background: #f0f0f0;
    }
    > a {
      border-bottom-color: #f0f0f0;
    }
  }
  > ul > li > a > .ink {
    background: rgba(0, 0, 0, 0.1);
  }
  }

  .black.jquery-accordion-menu {
  .jquery-accordion-menu-footer, .jquery-accordion-menu-header {
    background: #292929;
  }
  ul {
    li a {
      background: #292929;
    }
    ul.submenu li:hover > a {
      border-left-color: #222;
    }
  }
  > ul > li {
    &.active > a, &:hover > a {
      background: #222;
    }
    > a {
      border-bottom-color: #222;
    }
  }
  }
}